package com.niiwoo.civet.trade.enums.kaola;


/**
 * 考拉理财还款类型枚举
 *
 * @author daizhiyue
 * @Datetime 2017-12-25
 */
public enum KaoLaLiCaiRepayTypeEnum {

    /**
     * 1正常还款， 2提前还款， 3代偿, 4考拉回购
     */
    REPAY_NOMAL((byte) 1, "正常还款"),
    REPAY_SETTLE((byte) 2, "提前还款"),
    REPAY_ADVANCE((byte) 3, "代偿"),
    REPAY_OVERDUE((byte) 4, "逾期还款"),
    REPAY_BUYBACK((byte) 7, "考拉回购"),
    REPAY_BATCHPAYMENT((byte) 8, "考拉批扣");

    private final Byte code;

    private final String desc;

    KaoLaLiCaiRepayTypeEnum(Byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Byte getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
